export interface BorrowRecord {
  id: number;
  userId: number;
  book: {
    id: number;
    title: string;
    author: string;
    stock: number;
  };
  borrowTime: string;
  deadline: string;
  status: "BORROWING" | "RETURNED" | "OVERDUE";
}

export const BorrowStatusTitle = {
  BORROWING: "借阅中",
  RETURNED: "已归还",
  OVERDUE: "已逾期",
};
